package com.youlai.boot.core.tenant.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 租户申请审核表单
 *
 * @author haoxr
 * @since 3.0.0
 */
@Schema(description = "租户申请审核表单")
@Data
public class TenantApplicationReviewForm {

    @Schema(description = "申请ID")
    @NotNull(message = "申请ID不能为空")
    private Long id;

    @Schema(description = "是否通过：true-通过 false-拒绝")
    @NotNull(message = "审核结果不能为空")
    private Boolean approved;

    @Schema(description = "审核意见")
    private String reviewComment;

    @Schema(description = "拒绝原因（审核拒绝时必填）")
    private String rejectReason;

    @Schema(description = "租户编码（审核通过时自动生成，也可手动指定）")
    private String tenantCode;
}

